<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="../js/vue.min.js"></script>
  <!-- 引入样式 -->
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
  <!-- 引入组件库 -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>
<div id="app">
  <el-container>
      <el-header>页头</el-header>
      <el-container>
           <el-aside style="width: 100px">左侧栏</el-aside>
           <el-main>内容区</el-main>
           <el-aside style="width: 100px">右侧栏</el-aside>
      </el-container>
       <el-footer>页脚</el-footer>
  </el-container>
  <hr>
  <el-container>
    <el-aside style="width: 100px">左侧栏</el-aside>
    <el-container>
      <el-header>页头</el-header>
      <el-main>内容区</el-main>
      <el-footer>页脚</el-footer>
    </el-container>
  </el-container>
  <hr>
  <el-container>
    <el-header>页头</el-header>
    <el-container>
      <el-aside style="width: 100px">左侧栏</el-aside>
      <el-container>
        <el-main>内容区</el-main>
        <el-footer>页脚</el-footer>
      </el-container>
    </el-container>
  </el-container>

</div>
<script>
  var v = new Vue({
    el:"#app"
  })
</script>

</body>
</html>

<style>
  .el-container{
    height: 300px;
    width: 400px;

  }
  .el-header{
    background-color: #eee;
  }
  .el-footer{
    background-color: #ddd;
  }
  .el-aside{
    background-color: #ccc;
  }
  .el-main{
    background-color: #bbb;
  }


</style>